<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<div class="wrap">
 
	<!-- start -->
	<div class="nav">
		<div class="return"><a href="${requestScope.FPWEB.rootPath }/banner/m/list${requestScope.FPWEB.urlStuff}">返回上一级</a></div>
	</div>
	<form method="post" class="J_ajaxForm" action="${requestScope.FPWEB.rootPath }/banner/m/insert${requestScope.FPWEB.urlStuff}" autocomplete="off">
	<div class="h_a">添加Banner</div>
	<div class="table_full">
		<table width="100%">
			<tr>
				<th width="10%">标题</th>
				<td><input name="title" type="text" class="input length_5" value="${news.title}"></td>
				<td><div class="fun_tips"></div></td>
			</tr>

			<tr>
				<th>Banner类型</th>
				<td><select name="banner_type">
					<option VALUE="0">所有</option>
					<option VALUE="1">PC官网</option>
					<option VALUE="2">IOS</option>
					<option VALUE="3">ANDROID</option>
				</select></td>
				<td><div class="fun_tips"></div></td>
			</tr>

			<tr>
				<th>背景颜色</th>
				<td><input name="background" type="text" class="input length_5" value=""></td>
				<td><div class="fun_tips"></div></td>
			</tr>
			
			<tr>
				<th>PC背景图片地址</th>
				<td><input name="pc_imgfile" type="file" class="input length_5" ></td>
				<td><div class="fun_tips"></div></td>
			</tr>

			<tr>
				<th>ANDROID背景图片地址</th>
				<td><input name="android_imgfile" type="file" class="input length_5" ></td>
				<td><div class="fun_tips"></div></td>
			</tr>

			<tr>
				<th>IOS背景图片地址</th>
				<td><input name="ios_imgfile" type="file" class="input length_5" ></td>
				<td><div class="fun_tips"></div></td>
			</tr>
			
			<tr>
				<th>链接地址</th>
				<td><input name="href_path" type="text" class="input length_5" value="${empty news.strMap.url?'http://':news.strMap.url }"></td>
				<td><div class="fun_tips"></div></td>
			</tr>
	
			<tr>
				<th>排序</th>
				<td><input name="sort" type="text" class="input length_5" value=""></td>
				<td><div class="fun_tips"></div></td>
			</tr>
			
		</table>
	</div>

	<div class="btn_wrap">
		<div class="btn_wrap_pd">
			<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
		</div>
	</div>
	</form>
	<!-- end -->
</div>